package com.world.cat.model.back;

import com.world.common.model.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by gang on 2017/4/10.
 */
//评论
@Entity
@Table(name = "comment")
public class Comment extends BaseEntity {
    @Column(name = "obj_id")
    private String objId; //对象id

    @Column(columnDefinition = "text")
    private String content;

    public String getObjId() {
        return objId;
    }

    public void setObjId(String objId) {
        this.objId = objId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
